package com.android.happymall.model.detail;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Administrator on 2016/9/1.
 */
public class MainDetail implements Serializable {


    /**
     * team_list : [{"id":"293","mid":"1","goods_id":"441","goods_typeid":"1","team_num":"3","team_num_yes":"1","status":"1","c_time":"1478743896","u_time":"0","e_time":"1478830296","sid":"7","username":"test01","end_time":69822,"avatar":"http://pin.lnest.cc//upload/photo.gif"}]
     * id : 266
     * typeid : 1
     * name : 【休闲运动2件套】梅丛中笑 修身时尚女装
     * content :
     * thumb : http://pin.lnest.cc//upload/images/gallery/2/p/98_src.jpg
     * thumbs : ["http://pin.lnest.cc//upload/images/gallery/2/o/97_src.jpg","http://pin.lnest.cc//upload/images/gallery/2/n/96_src.jpg"]
     * price : 45.00
     * team_price_total : 0.00
     * team_price : 40.00
     * team_save : 5.00
     * is_fav : false
     * team_num : 5
     * team_people_num : 31
     * count : 2
     * rule : null
     * goods_item : [{"id":"335","goods_id":"266","goods_name":null,"spec":"36-38","price":"45.00","cost":"0.00","stock":"91","serial":"1","thumb":"http://pin.lnest.cc//upload/images/gallery/2/2/75_src.jpg","spec_array":[{"spec_key":"重量","spec_value":"2g"},{"spec_key":"品牌","spec_value":"金多福"}],"team_price":"40.00"},{"id":"336","goods_id":"266","goods_name":null,"spec":"36-39","price":"45.00","cost":"0.00","stock":"85","serial":"2","thumb":"http://pin.lnest.cc//upload/images/gallery/2/3/76_src.jpg","spec_array":[{"spec_key":"重量","spec_value":"2g"},{"spec_key":"品牌","spec_value":"金大福"}],"team_price":"40.00"},{"id":"337","goods_id":"266","goods_name":null,"spec":"37-38","price":"45.00","cost":"0.00","stock":"99","serial":"3","thumb":"http://pin.lnest.cc//upload/images/gallery/2/4/77_src.jpg","spec_array":[{"spec_key":"重量","spec_value":"4g"},{"spec_key":"品牌","spec_value":"金多福"}],"team_price":"40.00"},{"id":"338","goods_id":"266","goods_name":null,"spec":"37-39","price":"45.00","cost":"0.00","stock":"100","serial":"4","thumb":"","spec_array":[{"spec_key":"重量","spec_value":"4g"},{"spec_key":"品牌","spec_value":"金大福"}],"team_price":"40.00"}]
     * sp_arr : [{"id":"5","name":"重量"},{"id":"6","name":"品牌"}]
     * sp_val : {"5":{"36":"2g","37":"4g"},"6":{"38":"\u91d1\u591a\u798f","39":"\u91d1\u5927\u798f"}}
     * spec : []
     * store : {"id":"7","name":"油菜1","logo":"http://pin.lnest.cc//upload/images/logo/201610311404524707.png","fav_num":"2","goods_total":"12","sell_total":"16","is_fav":true}
     * url : http://pin.lnest.cc/goods/show/266
     */

    private DataBean data;
    /**
     * data : {"team_list":[{"id":"293","mid":"1","goods_id":"441","goods_typeid":"1","team_num":"3","team_num_yes":"1","status":"1","c_time":"1478743896","u_time":"0","e_time":"1478830296","sid":"7","username":"test01","end_time":69822,"avatar":"http://pin.lnest.cc//upload/photo.gif"}],"id":266,"typeid":1,"name":"【休闲运动2件套】梅丛中笑 修身时尚女装","content":"","thumb":"http://pin.lnest.cc//upload/images/gallery/2/p/98_src.jpg","thumbs":["http://pin.lnest.cc//upload/images/gallery/2/o/97_src.jpg","http://pin.lnest.cc//upload/images/gallery/2/n/96_src.jpg"],"price":"45.00","team_price_total":"0.00","team_price":"40.00","team_save":"5.00","is_fav":false,"team_num":"5","team_people_num":"31","count":"2","rule":null,"goods_item":[{"id":"335","goods_id":"266","goods_name":null,"spec":"36-38","price":"45.00","cost":"0.00","stock":"91","serial":"1","thumb":"http://pin.lnest.cc//upload/images/gallery/2/2/75_src.jpg","spec_array":[{"spec_key":"重量","spec_value":"2g"},{"spec_key":"品牌","spec_value":"金多福"}],"team_price":"40.00"},{"id":"336","goods_id":"266","goods_name":null,"spec":"36-39","price":"45.00","cost":"0.00","stock":"85","serial":"2","thumb":"http://pin.lnest.cc//upload/images/gallery/2/3/76_src.jpg","spec_array":[{"spec_key":"重量","spec_value":"2g"},{"spec_key":"品牌","spec_value":"金大福"}],"team_price":"40.00"},{"id":"337","goods_id":"266","goods_name":null,"spec":"37-38","price":"45.00","cost":"0.00","stock":"99","serial":"3","thumb":"http://pin.lnest.cc//upload/images/gallery/2/4/77_src.jpg","spec_array":[{"spec_key":"重量","spec_value":"4g"},{"spec_key":"品牌","spec_value":"金多福"}],"team_price":"40.00"},{"id":"338","goods_id":"266","goods_name":null,"spec":"37-39","price":"45.00","cost":"0.00","stock":"100","serial":"4","thumb":"","spec_array":[{"spec_key":"重量","spec_value":"4g"},{"spec_key":"品牌","spec_value":"金大福"}],"team_price":"40.00"}],"sp_arr":[{"id":"5","name":"重量"},{"id":"6","name":"品牌"}],"sp_val":"{\"5\":{\"36\":\"2g\",\"37\":\"4g\"},\"6\":{\"38\":\"\\u91d1\\u591a\\u798f\",\"39\":\"\\u91d1\\u5927\\u798f\"}}","spec":[],"store":{"id":"7","name":"油菜1","logo":"http://pin.lnest.cc//upload/images/logo/201610311404524707.png","fav_num":"2","goods_total":"12","sell_total":"16","is_fav":true},"url":"http://pin.lnest.cc/goods/show/266"}
     * flag : true
     * code : 0
     * msg : 操作成功
     * time : 1478760177
     */
    private int common_id;
    private int join_common_id;
    private TeamBean team;
    private boolean flag;
    private int code;
    private String msg;
    private int time;

    public int getCommon_id() {
        return common_id;
    }

    public void setCommon_id(int common_id) {
        this.common_id = common_id;
    }

    public int getJoin_common_id() {
        return join_common_id;
    }

    public void setJoin_common_id(int join_common_id) {
        this.join_common_id = join_common_id;
    }

    public TeamBean getTeam() {
        return team;
    }

    public void setTeam(TeamBean team) {
        this.team = team;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public boolean isFlag() {
        return flag;
    }

    public void setFlag(boolean flag) {
        this.flag = flag;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getTime() {
        return time;
    }

    public void setTime(int time) {
        this.time = time;
    }

    public static class DataBean implements Serializable {
        private int id;
        private int typeid;
        private String name;
        private String content;
        private String thumb;
        private String price;
        private String team_price_total;
        private String team_price;
        private String deposit;
        private String team_save;
        private boolean is_fav;
        private String team_num;
        private String team_people_num;
        private String count;
        private String start_time;
        private String end_time;
        private String run_time;
        private String share_comss;
        private String desc;
        private String share_content;

        public String getShare_content() {
            return share_content;
        }

        public void setShare_content(String share_content) {
            this.share_content = share_content;
        }

        public String getDeposit() {
            return deposit;
        }

        public void setDeposit(String deposit) {
            this.deposit = deposit;
        }

        private String rule;
        private String sp_val;


        /**
         * id : 7
         * name : 油菜1
         * logo : http://pin.lnest.cc//upload/images/logo/201610311404524707.png
         * fav_num : 2
         * goods_total : 12
         * sell_total : 16
         * is_fav : true
         */

        private StoreBean store;
        private String url;
        /**
         * id : 293
         * mid : 1
         * goods_id : 441
         * goods_typeid : 1
         * team_num : 3
         * team_num_yes : 1
         * status : 1
         * c_time : 1478743896
         * u_time : 0
         * e_time : 1478830296
         * sid : 7
         * username : test01
         * end_time : 69822
         * avatar : http://pin.lnest.cc//upload/photo.gif
         */

        private List<TeamListBean> team_list;
        private List<StepArrayBean> step_array;
        private List<TjList> tj_list;
        private List<String> thumbs;
        private List<String> goods_tip;

        public List<String> getGoods_tip() {
            return goods_tip;
        }

        public void setGoods_tip(List<String> goods_tip) {
            this.goods_tip = goods_tip;
        }

        public List<TjList> getTj_list() {
            return tj_list;
        }

        public void setTj_list(List<TjList> tj_list) {
            this.tj_list = tj_list;
        }

        public List<StepArrayBean> getStep_array() {
            return step_array;
        }

        public void setStep_array(List<StepArrayBean> step_array) {
            this.step_array = step_array;
        }

        /**
         * id : 335
         * goods_id : 266
         * goods_name : null
         * spec : 36-38
         * price : 45.00
         * cost : 0.00
         * stock : 91
         * serial : 1
         * thumb : http://pin.lnest.cc//upload/images/gallery/2/2/75_src.jpg
         * spec_array : [{"spec_key":"重量","spec_value":"2g"},{"spec_key":"品牌","spec_value":"金多福"}]
         * team_price : 40.00
         */

        private List<GoodsItemBean> goods_item;
        /**
         * id : 5
         * name : 重量
         */

        private List<SpArrBean> sp_arr;
        private List<?> spec;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getTypeid() {
            return typeid;
        }

        public void setTypeid(int typeid) {
            this.typeid = typeid;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public String getThumb() {
            return thumb;
        }

        public void setThumb(String thumb) {
            this.thumb = thumb;
        }

        public String getPrice() {
            return price;
        }

        public void setPrice(String price) {
            this.price = price;
        }

        public String getTeam_price_total() {
            return team_price_total;
        }

        public void setTeam_price_total(String team_price_total) {
            this.team_price_total = team_price_total;
        }

        public String getTeam_price() {
            return team_price;
        }

        public void setTeam_price(String team_price) {
            this.team_price = team_price;
        }

        public String getTeam_save() {
            return team_save;
        }

        public void setTeam_save(String team_save) {
            this.team_save = team_save;
        }

        public boolean isIs_fav() {
            return is_fav;
        }

        public void setIs_fav(boolean is_fav) {
            this.is_fav = is_fav;
        }

        public String getTeam_num() {
            return team_num;
        }

        public void setTeam_num(String team_num) {
            this.team_num = team_num;
        }

        public String getTeam_people_num() {
            return team_people_num;
        }

        public void setTeam_people_num(String team_people_num) {
            this.team_people_num = team_people_num;
        }

        public String getCount() {
            return count;
        }

        public void setCount(String count) {
            this.count = count;
        }

        public String getRule() {
            return rule;
        }

        public void setRule(String rule) {
            this.rule = rule;
        }

        public String getStart_time() {
            return start_time;
        }

        public void setStart_time(String start_time) {
            this.start_time = start_time;
        }

        public String getEnd_time() {
            return end_time;
        }

        public void setEnd_time(String end_time) {
            this.end_time = end_time;
        }

        public String getRun_time() {
            return run_time;
        }

        public void setRun_time(String run_time) {
            this.run_time = run_time;
        }

        public String getShare_comss() {
            return share_comss;
        }

        public void setShare_comss(String share_comss) {
            this.share_comss = share_comss;
        }

        public String getDesc() {
            return desc;
        }

        public void setDesc(String desc) {
            this.desc = desc;
        }

        public String getSp_val() {
            return sp_val;
        }

        public void setSp_val(String sp_val) {
            this.sp_val = sp_val;
        }

        public StoreBean getStore() {
            return store;
        }

        public void setStore(StoreBean store) {
            this.store = store;
        }

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }

        public List<TeamListBean> getTeam_list() {
            return team_list;
        }

        public void setTeam_list(List<TeamListBean> team_list) {
            this.team_list = team_list;
        }

        public List<String> getThumbs() {
            return thumbs;
        }

        public void setThumbs(List<String> thumbs) {
            this.thumbs = thumbs;
        }

        public List<GoodsItemBean> getGoods_item() {
            return goods_item;
        }

        public void setGoods_item(List<GoodsItemBean> goods_item) {
            this.goods_item = goods_item;
        }

        public List<SpArrBean> getSp_arr() {
            return sp_arr;
        }

        public void setSp_arr(List<SpArrBean> sp_arr) {
            this.sp_arr = sp_arr;
        }

        public List<?> getSpec() {
            return spec;
        }

        public void setSpec(List<?> spec) {
            this.spec = spec;
        }

        public static class StoreBean implements Serializable {
            private String id;
            private String name;
            private String logo;
            private String fav_num;
            private String goods_total;
            private String sell_total;
            private boolean is_fav;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getLogo() {
                return logo;
            }

            public void setLogo(String logo) {
                this.logo = logo;
            }

            public String getFav_num() {
                return fav_num;
            }

            public void setFav_num(String fav_num) {
                this.fav_num = fav_num;
            }

            public String getGoods_total() {
                return goods_total;
            }

            public void setGoods_total(String goods_total) {
                this.goods_total = goods_total;
            }

            public String getSell_total() {
                return sell_total;
            }

            public void setSell_total(String sell_total) {
                this.sell_total = sell_total;
            }

            public boolean isIs_fav() {
                return is_fav;
            }

            public void setIs_fav(boolean is_fav) {
                this.is_fav = is_fav;
            }
        }


        public static class TeamListBean implements Serializable {
            private String id;
            private String mid;
            private String goods_id;
            private String goods_typeid;
            private String team_num;
            private String team_num_yes;
            private String status;
            private String c_time;
            private String u_time;
            private String e_time;
            private String sid;
            private String username;
            private int end_time;
            private String avatar;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getMid() {
                return mid;
            }

            public void setMid(String mid) {
                this.mid = mid;
            }

            public String getGoods_id() {
                return goods_id;
            }

            public void setGoods_id(String goods_id) {
                this.goods_id = goods_id;
            }

            public String getGoods_typeid() {
                return goods_typeid;
            }

            public void setGoods_typeid(String goods_typeid) {
                this.goods_typeid = goods_typeid;
            }

            public String getTeam_num() {
                return team_num;
            }

            public void setTeam_num(String team_num) {
                this.team_num = team_num;
            }

            public String getTeam_num_yes() {
                return team_num_yes;
            }

            public void setTeam_num_yes(String team_num_yes) {
                this.team_num_yes = team_num_yes;
            }

            public String getStatus() {
                return status;
            }

            public void setStatus(String status) {
                this.status = status;
            }

            public String getC_time() {
                return c_time;
            }

            public void setC_time(String c_time) {
                this.c_time = c_time;
            }

            public String getU_time() {
                return u_time;
            }

            public void setU_time(String u_time) {
                this.u_time = u_time;
            }

            public String getE_time() {
                return e_time;
            }

            public void setE_time(String e_time) {
                this.e_time = e_time;
            }

            public String getSid() {
                return sid;
            }

            public void setSid(String sid) {
                this.sid = sid;
            }

            public String getUsername() {
                return username;
            }

            public void setUsername(String username) {
                this.username = username;
            }

            public int getEnd_time() {
                return end_time;
            }

            public void setEnd_time(int end_time) {
                this.end_time = end_time;
            }

            public String getAvatar() {
                return avatar;
            }

            public void setAvatar(String avatar) {
                this.avatar = avatar;
            }
        }

        public static class StepArrayBean implements Serializable {
            private int step_key;
            private String step_value;

            public int getStep_key() {
                return step_key;
            }

            public void setStep_key(int step_key) {
                this.step_key = step_key;
            }

            public String getStep_value() {
                return step_value;
            }

            public void setStep_value(String step_value) {
                this.step_value = step_value;
            }
        }

        public static class TjList implements Serializable {
            private String id;
            private String name;
            private String typeid;
            private String type_name;
            private String price;
            private String team_price;
            private String img_cover;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getTypeid() {
                return typeid;
            }

            public void setTypeid(String typeid) {
                this.typeid = typeid;
            }

            public String getType_name() {
                return type_name;
            }

            public void setType_name(String type_name) {
                this.type_name = type_name;
            }

            public String getPrice() {
                return price;
            }

            public void setPrice(String price) {
                this.price = price;
            }

            public String getTeam_price() {
                return team_price;
            }

            public void setTeam_price(String team_price) {
                this.team_price = team_price;
            }

            public String getImg_cover() {
                return img_cover;
            }

            public void setImg_cover(String img_cover) {
                this.img_cover = img_cover;
            }
        }

        public static class GoodsItemBean implements Serializable {
            private String id;
            private String goods_id;
            private Object goods_name;
            private String spec;
            private String price;
            private String cost;
            private String stock;
            private String serial;
            private String thumb;
            private String team_price;
            /**
             * spec_key : 重量
             * spec_value : 2g
             */

            private List<SpecArrayBean> spec_array;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getGoods_id() {
                return goods_id;
            }

            public void setGoods_id(String goods_id) {
                this.goods_id = goods_id;
            }

            public Object getGoods_name() {
                return goods_name;
            }

            public void setGoods_name(Object goods_name) {
                this.goods_name = goods_name;
            }

            public String getSpec() {
                return spec;
            }

            public void setSpec(String spec) {
                this.spec = spec;
            }

            public String getPrice() {
                return price;
            }

            public void setPrice(String price) {
                this.price = price;
            }

            public String getCost() {
                return cost;
            }

            public void setCost(String cost) {
                this.cost = cost;
            }

            public String getStock() {
                return stock;
            }

            public void setStock(String stock) {
                this.stock = stock;
            }

            public String getSerial() {
                return serial;
            }

            public void setSerial(String serial) {
                this.serial = serial;
            }

            public String getThumb() {
                return thumb;
            }

            public void setThumb(String thumb) {
                this.thumb = thumb;
            }

            public String getTeam_price() {
                return team_price;
            }

            public void setTeam_price(String team_price) {
                this.team_price = team_price;
            }

            public List<SpecArrayBean> getSpec_array() {
                return spec_array;
            }

            public void setSpec_array(List<SpecArrayBean> spec_array) {
                this.spec_array = spec_array;
            }

            public static class SpecArrayBean implements Serializable {
                private String spec_key;
                private String spec_value;

                public String getSpec_key() {
                    return spec_key;
                }

                public void setSpec_key(String spec_key) {
                    this.spec_key = spec_key;
                }

                public String getSpec_value() {
                    return spec_value;
                }

                public void setSpec_value(String spec_value) {
                    this.spec_value = spec_value;
                }
            }
        }

        public static class SpArrBean implements Serializable {
            private String id;
            private String name;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }
        }
    }

    public static class TeamBean implements Serializable {


        private String id;
        private String mid;
        private String goods_id;
        private String goods_typeid;
        private String team_num;
        private String team_num_yes;
        private String team_price;
        private String status;
        private String c_time;
        private String u_time;
        private String e_time;
        private String sid;
        private int team_max;
        private int team_scale;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getMid() {
            return mid;
        }

        public void setMid(String mid) {
            this.mid = mid;
        }

        public String getGoods_id() {
            return goods_id;
        }

        public void setGoods_id(String goods_id) {
            this.goods_id = goods_id;
        }

        public String getGoods_typeid() {
            return goods_typeid;
        }

        public void setGoods_typeid(String goods_typeid) {
            this.goods_typeid = goods_typeid;
        }

        public String getTeam_num() {
            return team_num;
        }

        public void setTeam_num(String team_num) {
            this.team_num = team_num;
        }

        public String getTeam_num_yes() {
            return team_num_yes;
        }

        public void setTeam_num_yes(String team_num_yes) {
            this.team_num_yes = team_num_yes;
        }

        public String getTeam_price() {
            return team_price;
        }

        public void setTeam_price(String team_price) {
            this.team_price = team_price;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public String getC_time() {
            return c_time;
        }

        public void setC_time(String c_time) {
            this.c_time = c_time;
        }

        public String getU_time() {
            return u_time;
        }

        public void setU_time(String u_time) {
            this.u_time = u_time;
        }

        public String getE_time() {
            return e_time;
        }

        public void setE_time(String e_time) {
            this.e_time = e_time;
        }

        public String getSid() {
            return sid;
        }

        public void setSid(String sid) {
            this.sid = sid;
        }

        public int getTeam_max() {
            return team_max;
        }

        public void setTeam_max(int team_max) {
            this.team_max = team_max;
        }

        public int getTeam_scale() {
            return team_scale;
        }

        public void setTeam_scale(int team_scale) {
            this.team_scale = team_scale;
        }
    }
}
